package com.dtx.day5.day05AnnoDemo;

import com.dtx.day5.day05Annotation.Value;

public class DBConfig {

    @Value("${file.store}")
    private String store;

    @Value("${file.db}")
    private String db;

    @Value("test")
    private String test;

    public String getTest() {
        return test;
    }

    public void setTest(String test) {
        this.test = test;
    }

    public String getStore() {
        return store;
    }

    public void setStore(String store) {
        this.store = store;
    }

    public String getDb() {
        return db;
    }

    public void setDb(String db) {
        this.db = db;
    }

    @Override
    public String toString() {
        return "DBConfig{" +
                "store='" + store + '\'' +
                ", db='" + db + '\'' +
                ", test='" + test + '\'' +
                '}';
    }
}
